<template>
    <u-empty
      :icon="require('@/static/empty.png')"
      :width="width"
      :height="height"
      textSize="24rpx"
      textColor="#999999"
      :text="text"
    >
      <view class="h2 font24 c999 tc" v-if="desc">{{ desc }}</view>
    </u-empty>
</template>

<script>
export default {
  props: {
    width: {
      type: String,
      default: '526rpx'
    },
    height: {
      type:String,
      default: '332rpx'
    },

    text : {
      type:String,
      default: '暂无数据'
    },

    desc: {
      type:String,
      default: ''
    }
  }
}
</script>